package com.sskj.lib.bean;

public class UrlBean {

    /**
     * id : 1
     * realmName : 111.com
     * isselected : 1
     * createTime : null
     * createUser : null
     */

    private int id;
    private String realmName;
    private int isselected;
    private Object createTime;
    private Object createUser;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRealmName() {
        return realmName.replace("www","api");
    }
    public String getWs() {
        return realmName.replace("https","wss").replace("http","ws")+"/websocket/android";
    }

    public void setRealmName(String realmName) {
        this.realmName = realmName;
    }

    public int getIsselected() {
        return isselected;
    }

    public void setIsselected(int isselected) {
        this.isselected = isselected;
    }

    public Object getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Object createTime) {
        this.createTime = createTime;
    }

    public Object getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Object createUser) {
        this.createUser = createUser;
    }
}
